#pragma once

#include <iostream>
#include <vector>
#include <functional>

// using _func = std::function<void>();

typedef void(*task_t)();

void task1()
{
    std::cout << "wzry 刷新日志" << std::endl;
}

void task2()
{
    std::cout << "wzry 更新野区" << std::endl;
}

void task3()
{
    std::cout << "wzry 刷新金币" << std::endl;
}

void task4()
{
    std::cout << "wzry 获取点Juana" << std::endl;
}

void task5()
{
    std::cout << "wzry 释放技能" << std::endl;
}

void LoadTask(std::vector<task_t> *tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
    tasks->push_back(task5);
}